// components/menu-item/menu-itme.js
Component({
  properties: {
    itemData:{
        type:Object,
        value:{}
    }
  },
  methods: {
    onMenuItemTap() {
        const id = this.properties.itemData.id
        wx.navigateTo({
          url: `/pages/detail-song/detail-song?type=menu&id=${id}`,
        })
    }
  }
})